* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  list-style: none;
}
html {
  height: 100%;
}
body {
  height: 100%;
  font-size: 14px;
  font-family: "Helvetica Neue","Microsoft Yahei","Hiragino Sans GB","WenQuanYi Micro Hei","sans-serif","PingHei", "Lucida Grande", "Helvetica","Arial","Verdana";
}
body,p,ul,ol,li,dl,dt,dd,h1,h2,h3,h4,h5,h6,form,fieldset,legend,input,select,textarea,button,th,td,menu{margin:0;padding:0;}
ul,dl,ol{list-style:none;}
button,input[type="button"]{cursor:pointer;}
#main {
  height: 100%;
  padding: 0 20px;
}
#search {
  display: flex;
  justify-content: flex-end;
  padding-bottom: 10px;
}
#search input {
  -webkit-appearance: none;
  background-color: #fff;
  background-image: none;
  border-radius: 4px;
  border: 1px solid #dcdfe6;
  box-sizing: border-box;
  color: #606266;
  display: inline-block;
  font-size: inherit;
  height: 32px;
  line-height: 32px;
  outline: none;
  padding: 0 15px;
  transition: border-color .2s cubic-bezier(.645,.045,.355,1);
  width: 100%;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
input[type=text]::placeholder {
  color: #dcdfe6;
}
.searchBtn {
  display: inline-block;
  height: 32px;
  line-height: 32px;
  padding: 0 10px;
  background: #f5f7fa;
  color: #909399;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  border-left: 0;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  cursor: pointer;
}
#productContent {
  height: calc(100% - 70px);
  overflow: auto;
}
#productList {
  display: flex;
  flex-wrap: wrap;
}
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-thumb {
  background-color: rgba(144, 147, 153, 0.3);
  border-radius: 4px;
  cursor: pointer;
}
#productList .product{
  width: 18%;
  border: 1px solid #dcdfe6;
  padding: 10px;
  border-radius: 8px;
  margin-right: 25px;
  margin-bottom: 15px;
}
#productList .product:hover {
  border: 1px solid #e3007c;
}
#productList .product img {
  width: 100%;
  height: 165px;
}
.productName {
  font-size: 17px;
  padding-top: 5px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  cursor: pointer;
}
.productdes {
  color: #909399;
  padding-top: 4px;
  font-size: 14px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  cursor: pointer;
}
.sku {
  color: #909399;
  font-size: 12px;
  padding-top: 4px;
}
.exchange {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 5px;
}
.requiredPoints {
  color: #e3007c;
  font-size: 17px;
  font-weight: bold;
}
.point {
  font-size: 12px;
  padding-left: 2px;
}
.exchangeBtn {
  padding: 2px 14px;
  background: linear-gradient(297deg,#d90057,#e30079 48%,#e60099);
  color: #fff;
  border-radius: 15px;
  cursor: pointer;
}
.realonly {
  background: rgb(215, 215, 215);
  cursor: not-allowed;
}
#noGood {
  height: calc(100% - 70px);
  text-align: center;
  color: #909399;
  font-size: 27px;
  display: none;
  position: relative;
}
#noGood .none {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
#goodPage button {
  color: #606266;
  margin: 0 5px;
  background-color: #f4f4f5;
  min-width: 30px;
  border-radius: 2px;
  border: none;
  height: 28px;
  line-height: 28px;
}
#goodPage button[disabled] {
  background: linear-gradient(297deg,#d90057,#e30079 48%,#e60099);
  color: #fff;
}
#leftBtn[disabled],#rightBtn[disabled] {
  background: rgba(239, 239, 239, 0.3) !important;
  color: #c0c4cc !important;
  cursor: not-allowed;
}
.counter {
  padding-top: 6px;
 
}
.numFont {
  color: #909399;
  font-size: 12px;
  padding-top: 4px;
  /* padding-right: 10px; */
}
.num {
  margin-left: -5px;
}
.num .control{
  display: inline-block;
  width: 20px;
  height: 20px;
  text-align: center;
  line-height: 20px;
  background-color: #f6f6f6;
  border-radius: 0 3px 3px 0;
  cursor: pointer;
  color: #999;
  border: none;
}
.num .stopOper {
  background-color: #fff;
  cursor: not-allowed;
}
.num .buyNum {
  display: inline-block;
  width: 40px;
  margin: 0 2px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  background: #f6f6f6;
  border: none;
  font-size: 12px;
  outline: none;
}
/* // 去除自带的增减按钮 */
input::-webkit-outer-spin-button, input::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
}
